package dmwr.repo;

import java.util.List;

import dmwr.bean.Entry;

public interface EntryRepo {

	List<Entry> list(int offset, int limit);

	Long count();

	Entry byId(Long id);

	void save(Entry entry);

	void delete(Long id);

	void deleteAll();

	Entry firstCreatedAfter(Long poolId, Long created);

	Entry firstByText(Long poolId, String text1, String text2);
}
